package DRCOMM;
import java.util.HashMap;
import java.util.Map;

public class DR_SESSION{

    private String key="";
    private Map<String,String> data=new HashMap<String,String>();

    public DR_SESSION(String key){
        this.key=key;
    }

    public String get_key(){
        return this.key;
    }

    public void put(String sub_key,String value){
        this.data.put(sub_key, value);
    }

    public String get(String sub_key){
        if(this.data.containsKey(sub_key)){
            return this.data.get(sub_key);
        }else{
            return null;
        }
    }
}
